.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsis-three {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

// 重置部分样式
.uni-toast {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  height: 240rpx !important;
  width: 300rpx !important;

  .uni-icon_toast::before {
    font-size: 80rpx !important;
  }

  &__content {
    padding: 0 16rpx !important;
    font-size: 28rpx !important;
  }
}

// 公共按钮
.common-btn {
  display: inline-block;
  width: auto;
  box-sizing: border-box;
  border: 1rpx solid #1aad19;
  background: none;
  margin-top: 40rpx;
  color: #1aad19;
  font-size: 26rpx;
  box-sizing: border-box;
  padding: 0 1.34em;
  height: 32px;
  line-height: 32px;

  &:first-child {
    margin-right: 30rpx;
  }

  &:active {
    background: #479b25;
    color: #fff;
  }

  &.cancel {
    color: #000;
    border: 1rpx solid #000;

    &:active {
      background: #f8f8f8;
      color: rgba(0, 0, 0, 0.6);
    }
  }
}

.wx-switch-input {
  width: 42px !important;
  height: 20px !important;
  border: 1px solid #e9e9e9;
}

.wx-switch-input::before {
  width: 41px !important;
  height: 20px !important;
}

.wx-switch-input::after {
  width: 18px !important;
  height: 18px !important;
}

.uni-page-head-search-placeholder:before {
  font-size: 17px !important;
}

.uni-page-head-btn-red-dot:after {
  right: 3px;
  top: 5px;
}
